package models_main

import (
	"fmt"
	"longmen/server/pkg/db/mysql/models"
)

type AutoPush struct {
	Id       uint   `json:"id"`
	Content  string `json:"content"`
	Link     string `json:"link"`
	Interval int    `json:"interval"` //分钟
}

func (a *AutoPush) TableName() string {
	return fmt.Sprintf("%sauto_push", models.Prefix)
}
